package com.yixing.demo.service;

import com.yixing.demo.mapper.FriendMapper;
import com.yixing.demo.model.Friend;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FriendListService {
    @Resource
    FriendMapper friendMapper;

    public List<Friend> selectFriendList(Integer userId) {
       return friendMapper.selectFriendList(userId);
    }
}
